home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 3
/
Info_Mac_1994-01.iso
/
Development
/
Source
/
Macintosh Tracker 1.1 Source
/
Tracker Client Folder
/
Core 27⁄June⁄1993
/
CNonmodalDialog.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1993-04-09
|
421 b
|
18 lines
|
[
TEXT/KAHL
]
/* CNonmodalDialog.c */
#include "CNonmodalDialog.h"
void CNonmodalDialog::MakeMyGrafPtr(LongPoint Start, LongPoint Extent)
{
Rect BoundsRect;
BoundsRect = RectOf(Start.x,Start.y,Start.x+Extent.x,Start.y+Extent.y);
MyGrafPtr = NewWindow(NIL,&BoundsRect,"\p",True,documentProc,(void*)-1,
False,(long)this);
if (MyGrafPtr == NIL)
{
PRERR(ForceAbort,"NewWindow failed to allocate memory.");
}
}